package com.pactera.jep.service.sys.util;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class LogExecutor {
    /**
     * 初始化3个线程来记录日志
     */
    private static ExecutorService executor = Executors.newFixedThreadPool(3);

    /**
     * 日志执行器
     * @param runnable
     */
    public static void  submit(Runnable runnable) {
        executor.submit(runnable);
    }
}
